package io.mvvm.ws.enumerate;

/**
 * @program: seize-login
 * @description: 消息发送类型
 * @author: 潘
 * @create: 2021-05-16 15:01
 **/
public enum SendMessageTypeEnum {

    USER_OFFLINE(100, "当前账号已被其他设备登陆", "USER_OFFLINE"),
    SUBSCRIBE(101, "订阅消息", "SUBSCRIBE"),
    ;


    private int code;
    private String message;
    private String action;

    SendMessageTypeEnum(int code, String message, String action) {
        this.code = code;
        this.message = message;
        this.action = action;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    public String getAction() {
        return action;
    }
}
